﻿<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="LiveChat.aspx.cs" Inherits="EWDTAssignment.LiveChat" %>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

<html xmlns="http://www.w3.org/1999/xhtml">
<head runat="server">
    <title></title>
</head>
<body background="images/chatBg.jpg" style="background-attachment:fixed">
    <form id="form1" runat="server">
    <div>
    
        <br />
        <asp:Panel ID="Panel2" runat="server">
            <asp:UpdatePanel ID="UpdatePanel2" runat="server">
                <ContentTemplate>
                    <asp:Timer ID="Timer1" runat="server" Interval="1000">
                    </asp:Timer>
                    <asp:GridView ID="GridView2" runat="server" BorderStyle="None" Height="200px" 
                        Width="400px">
                    </asp:GridView>
                    <br />
                    <br />
                    <br />
                    <br />
                    <br />
                    <asp:ScriptManager ID="ScriptManager1" runat="server">
                    </asp:ScriptManager>
                    <br />
                    <br />
                </ContentTemplate>
            </asp:UpdatePanel>
            <br />
        </asp:Panel>
                <table style="width:100%;">
                    <tr>
                        <td rowspan="2">
                            <asp:TextBox ID="ChatMsgTbx" runat="server" Height="80px" TextMode="MultiLine" 
                               style="position:fixed; top:88%; left:0px" Width="903px"></asp:TextBox>
                        </td>
                        <td>
                            
                        </td>
                    </tr>
                    <tr>
                        <td>
                            <asp:Button ID="Button2" runat="server" Text="Send" Width="178px" style="position:fixed; top:95%; left:940px"
                                onclick="Button2_Click" />
                        </td>
                    </tr>
                </table>
        <br />
        <br />
    
    </div>
    </form>
</body>
</html>
